home *** CD-ROM | disk | FTP | other *** search
/ World of Video / World of Video.iso / gfxprograms / 3dprograms / rayshade-4.0 / libextra / makefile.amiga < prev    next >
Makefile  |  1995-02-13  |  444b  |  25 lines

  1. OBJS = myexit.o popen.o priority.o mypow.o
  2.  
  3. CC = gcc
  4. LIB = libextra.a
  5. OPT = -O3 -m68020 -m68881 -fno-defer-pop -fno-builtin
  6. DEFS = 
  7. CCFLAGS = -c -nostdinc -IGNU:include -IGNU:os-include -Isc:include
  8. CFLAGS = $(OPT) $(CCFLAGS) $(DEFS)
  9.  
  10. .c.o:
  11.     $(CC) $(CFLAGS) $*.c
  12.  
  13. target: $(LIB)
  14.  
  15. $(LIB): $(OBJS)
  16.     ar rv $(LIB) $(OBJS)
  17.     ranlib $(LIB)
  18.  
  19. stupidmalloc.o: stupidmalloc.c
  20.     $(CC) $(OPT) $(CCFLAGS) stupidmalloc.c
  21.  
  22. clean:
  23.     delete $(OBJS)
  24.     delete $(LIB)
  25.